package com.eshop.modules.user.service.dto;

public class WechatUserDto {
    private String city;
    private String country;
    private String headimgurl;
    private String language;
    private String nickname;
    private String openid;
    private String province;
    private String routineOpenid;
    private Integer sex;
    private Boolean subscribe;
    private Long subscribeTime;
    private String unionId;

    public static class WechatUserDtoBuilder {
        private String city;
        private String country;
        private String headimgurl;
        private String language;
        private String nickname;
        private String openid;
        private String province;
        private String routineOpenid;
        private Integer sex;
        private Boolean subscribe;
        private Long subscribeTime;
        private String unionId;

        WechatUserDtoBuilder() {
        }

        public WechatUserDto build() {
            return new WechatUserDto(this.openid, this.unionId, this.routineOpenid, this.nickname, this.headimgurl, this.sex, this.city, this.language, this.province, this.country, this.subscribe, this.subscribeTime);
        }

        public WechatUserDtoBuilder city(String city2) {
            this.city = city2;
            return this;
        }

        public WechatUserDtoBuilder country(String country2) {
            this.country = country2;
            return this;
        }

        public WechatUserDtoBuilder headimgurl(String headimgurl2) {
            this.headimgurl = headimgurl2;
            return this;
        }

        public WechatUserDtoBuilder language(String language2) {
            this.language = language2;
            return this;
        }

        public WechatUserDtoBuilder nickname(String nickname2) {
            this.nickname = nickname2;
            return this;
        }

        public WechatUserDtoBuilder openid(String openid2) {
            this.openid = openid2;
            return this;
        }

        public WechatUserDtoBuilder province(String province2) {
            this.province = province2;
            return this;
        }

        public WechatUserDtoBuilder routineOpenid(String routineOpenid2) {
            this.routineOpenid = routineOpenid2;
            return this;
        }

        public WechatUserDtoBuilder sex(Integer sex2) {
            this.sex = sex2;
            return this;
        }

        public WechatUserDtoBuilder subscribe(Boolean subscribe2) {
            this.subscribe = subscribe2;
            return this;
        }

        public WechatUserDtoBuilder subscribeTime(Long subscribeTime2) {
            this.subscribeTime = subscribeTime2;
            return this;
        }

        public String toString() {
            return "WechatUserDto.WechatUserDtoBuilder(openid=" + this.openid + ", unionId=" + this.unionId + ", routineOpenid=" + this.routineOpenid + ", nickname=" + this.nickname + ", headimgurl=" + this.headimgurl + ", sex=" + this.sex + ", city=" + this.city + ", language=" + this.language + ", province=" + this.province + ", country=" + this.country + ", subscribe=" + this.subscribe + ", subscribeTime=" + this.subscribeTime + ")";
        }

        public WechatUserDtoBuilder unionId(String unionId2) {
            this.unionId = unionId2;
            return this;
        }
    }

    public void setCity(String city2) {
        this.city = city2;
    }

    public void setCountry(String country2) {
        this.country = country2;
    }

    public void setHeadimgurl(String headimgurl2) {
        this.headimgurl = headimgurl2;
    }

    public void setLanguage(String language2) {
        this.language = language2;
    }

    public void setNickname(String nickname2) {
        this.nickname = nickname2;
    }

    public void setOpenid(String openid2) {
        this.openid = openid2;
    }

    public void setProvince(String province2) {
        this.province = province2;
    }

    public void setRoutineOpenid(String routineOpenid2) {
        this.routineOpenid = routineOpenid2;
    }

    public void setSex(Integer sex2) {
        this.sex = sex2;
    }

    public void setSubscribe(Boolean subscribe2) {
        this.subscribe = subscribe2;
    }

    public void setSubscribeTime(Long subscribeTime2) {
        this.subscribeTime = subscribeTime2;
    }

    public void setUnionId(String unionId2) {
        this.unionId = unionId2;
    }

    public static WechatUserDtoBuilder builder() {
        return new WechatUserDtoBuilder();
    }

    public WechatUserDto(String openid2, String unionId2, String routineOpenid2, String nickname2, String headimgurl2, Integer sex2, String city2, String language2, String province2, String country2, Boolean subscribe2, Long subscribeTime2) {
        this.openid = openid2;
        this.unionId = unionId2;
        this.routineOpenid = routineOpenid2;
        this.nickname = nickname2;
        this.headimgurl = headimgurl2;
        this.sex = sex2;
        this.city = city2;
        this.language = language2;
        this.province = province2;
        this.country = country2;
        this.subscribe = subscribe2;
        this.subscribeTime = subscribeTime2;
    }

    public WechatUserDto() {
    }

    public String getOpenid() {
        return this.openid;
    }

    public String getUnionId() {
        return this.unionId;
    }

    public String getRoutineOpenid() {
        return this.routineOpenid;
    }

    public String getNickname() {
        return this.nickname;
    }

    public String getHeadimgurl() {
        return this.headimgurl;
    }

    public Integer getSex() {
        return this.sex;
    }

    public String getCity() {
        return this.city;
    }

    public String getLanguage() {
        return this.language;
    }

    public String getProvince() {
        return this.province;
    }

    public String getCountry() {
        return this.country;
    }

    public Boolean getSubscribe() {
        return this.subscribe;
    }

    public Long getSubscribeTime() {
        return this.subscribeTime;
    }
}
